#pragma once

struct ENGINE_API WinPlatformData
{
	WinPlatformData() 
	{
		WinPlatformData(0,0,"");
	}

	WinPlatformData(HINSTANCE hInstance, HWND hWnd, const String& cmdLine) 
		:	hWnd(hWnd), 
			hInstance(hInstance),
			cmdLine(cmdLine)
	{
	}

	HWND hWnd;
	HINSTANCE hInstance;	

	String cmdLine;
	
};



//threadlocal
#define ThreadLocal __declspec(thread)



// fixing Windows defines...
#ifdef DeleteFile
#undef DeleteFile
#endif
#ifdef CopyFile
#undef CopyFile
#endif
#ifdef GetObject
#undef GetObject
#endif